/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.List;

public interface IDAO<T> {
    
    public boolean save(T entity);
    public boolean update(T entity);
    public boolean delete(Long id);
    public T getById(Long id);
    public List<T> getAll();
    
}
